package cs271.examples.arraylist;

import java.math.BigInteger;
import java.util.ArrayList;

/**
 * A simple example of how to use the ArrayList class.
 */
public class UsingAnArrayList {
    public static void main(String[] args) {
        ArrayList<BigInteger> list1 = new ArrayList<BigInteger>();
        
        list1.add(new BigInteger("42"));
        list1.add(new BigInteger("43"));
        
        for(BigInteger bigInt: list1) {
            System.out.println(bigInt);
        }
    }
}
